Skip to content

feat(native): draw a review thread as a card with its replies on a line - #1273

Merged
omartelo merged 1 commit into
mainfrom
feat/pulls-threads
Dec 4, 2026
Merged

omartelo merged 1 commit into
mainfrom
feat/pulls-threads

Conversation

@omartelo

@omartelo omartelo commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

In the Conversation tab of Pulls, a reply was hard to tell from the comment it answered: the comments of a thread stood one under the other, and the thread was not told apart from what was said around it.

  • A thread is a card: file, lines and folder in its head, its code from edge to edge, then the talk.
  • Replies stand in by an avatar, on a line from the comment that opens the thread into each one.
  • Reply is a field under the talk, with Send to session and Resolve at its right.
  • Resolved threads, the comments of a review not sent yet and the box for a comment on the pull request share the same card and margin.
  • Files uses the same cards between the lines of the diff, and for the box a comment is written in.
  • The author's name is now centred on the avatar; it sat a pixel or two high.

No new user-visible copy: every string was already in the catalogs.

Test plan

  • Root and native/ gates: gofmt, go vet, go fix -diff, go test
  • New tests for the replies' indent, the height of a comment's head, and the reply field opening and closing its box
  • Frames of Conversation and Files looked at, in the dark and light themes and in a narrow pane

@omartelo
omartelo merged commit 853ae5b into main Dec 4, 2026
7 checks passed
@omartelo
omartelo deleted the feat/pulls-threads branch December 4, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant